        <!-- Small boxes (Stat box) -->
        <h1>流量分析-当前在线</h1>
        <div class="row">
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-aqua">
                    <div class="inner">
                        <h3>{{$online['onlyIp']}}</h3>

                        <p>最近1分钟独立访客</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-person-add"></i>
                    </div>
                    <a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-green">
                    <div class="inner">
                        <h3>{{$online['onlyPv']}}<sup style="font-size: 20px"></sup></h3>

                        <p>最近1分钟浏览次数</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-stats-bars"></i>
                    </div>
                    <a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-yellow">
                    <div class="inner">
                        <h3>{{$online['onlyIpLast15M']}}</h3>
                        <p>最近15分钟独立访客</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-person-add"></i>
                    </div>
                    <a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-red">
                    <div class="inner">
                        <h3>{{$online['onlyPvLast15M']}}</h3>

                        <p>最近15分钟浏览次数</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-pie-graph"></i>
                    </div>
                    <a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
        </div>

        <!-- /.row -->
        <h1>当前在线-渠道分析</h1>
        <div class="row">
            @foreach ($online['channeList'] as $key => $obj)
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-aqua">
                    <div class="inner">
                        <h3>{{count($obj)}}</h3>

                        <p>{{$key}}</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-person-add"></i>
                    </div>
                    <a href="#" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            @endforeach
        </div>
        <!-- /.row -->
        
        <!-- /.row -->
        <h1>当前在线-帐号分析</h1>
        <div class="row">
            @foreach ($online['domainList2'] as $key => $obj)
            <div class="col-lg-3 col-xs-6">
                <!-- small box -->
                <div class="small-box bg-aqua">
                    <div class="inner">
                        <!-- <h3>{{count($obj)}}</h3> -->
                        <h3>{{$obj}}</h3>
                        <p>{{returnAccout($key)}}</p>
                    </div>
                    <div class="icon">
                        <i class="ion ion-person-add"></i>
                    </div>
                    <a href="?op=checkOnline&domain={{$key}}" class="small-box-footer">More info <i class="fa fa-arrow-circle-right"></i></a>
                </div>
            </div>
            <!-- ./col -->
            @endforeach
        </div>
        <!-- /.row -->



        <div class="row">
          <div class="col-xs-12">
            <div class="box">
              <div class="box-header">
                <h3 class="box-title">当前在线-当前访问-最近一分钟</h3>
              </div>
              <!-- /.box-header -->
              <div class="box-body">
                <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"><div class="row"><div class="col-sm-6"></div><div class="col-sm-6"></div></div><div class="row"><div class="col-sm-12"><table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
                  <thead>
                  <tr>
                    <td>渠道</td>
                    <td>帐户</td>
                    <td>域名</td>
                    <td>关键词</td>
                    <td>搜索词</td>
                    <td>城市</td>
                    <td>创建时间</td>
                  </tr>
                  </thead>
                  <tbody>
                    @foreach($online['listsOriginate'] as $key=>$obj)
                      <tr role="row" class="odd">      
                          <td>{{$obj->channel}}</td>
                          <td>{{returnAccout($obj->domain)}}</td>
                        <td><a href="?op=checkdomain&domain={{$obj->domain}}">{{$obj->domain}}</a></td>

                          <td><a target="_blank" href="{{$obj->originate}}">{{$obj->keyword}}</a></td>
                          @if(strstr($obj->channel,'sogou'))
                             <td><a target="_blank" href="https://wap.sogou.com/web/searchList.jsp?keyword={{$obj->touch}}">{{$obj->touch}}</a></td>
                          @elseif(strstr($obj->channel,'baidu'))
                              <td><a target="_blank" href="http://m.baidu.com/s?word={{$obj->touch}}">{{$obj->touch}}</a></td>
                          @else
                               <td><a target="_blank" href="{{$obj->referer_url}}">{{$obj->touch}}</a></td>
                          @endif
     
                          <td>{{$obj->city}}</td>
                          <td>{{$obj->created_at}}</td>
                      </tr>
                    @endforeach
                  </tbody>
                  <tfoot>
                  </tfoot>
                </table></div></div></div>
              </div>
              <!-- /.box-body -->
            </div>
            <!-- /.box -->
          </div>
          <!-- /.col -->
        </div>
        <!-- /.row -->

        <div class="row">
          <div class="col-xs-12">
            <div class="box">
              <div class="box-header">
                <h3 class="box-title">当前在线-当前访问-最近15分钟</h3>
              </div>
              <!-- /.box-header -->
              <div class="box-body">
                <div id="example2_wrapper" class="dataTables_wrapper form-inline dt-bootstrap"><div class="row"><div class="col-sm-6"></div><div class="col-sm-6"></div></div><div class="row"><div class="col-sm-12"><table id="example2" class="table table-bordered table-hover dataTable" role="grid" aria-describedby="example2_info">
                  <thead>
                  <tr>
                    <td>渠道</td>
                    <td>帐户</td>
                    <td>域名</td>
                    <td>关键词</td>
                    <td>搜索词</td>
                    <td>城市</td>
                    <td>创建时间</td>
                  </tr>
                  </thead>
                  <tbody>
                    @foreach($online['listsOriginateLast15M'] as $key=>$obj)
                      <tr role="row" class="odd">      
                          <td>{{$obj->channel}}</td>
                          <td>{{returnAccout($obj->domain)}}</td>
                        <td><a href="?op=checkdomain&domain={{$obj->domain}}">{{$obj->domain}}</a></td>

                          <td><a target="_blank" href="{{$obj->originate}}">{{$obj->keyword}}</a></td>
                          @if(strstr($obj->channel,'sogou'))
                             <td><a target="_blank" href="https://wap.sogou.com/web/searchList.jsp?keyword={{$obj->touch}}">{{$obj->touch}}</a></td>
                          @elseif(strstr($obj->channel,'baidu'))
                              <td><a target="_blank" href="http://m.baidu.com/s?word={{$obj->touch}}">{{$obj->touch}}</a></td>
                          @else
                               <td><a target="_blank" href="{{$obj->referer_url}}">{{$obj->touch}}</a></td>
                          @endif
        
                          <td>{{$obj->city}}</td>
                          <td>{{$obj->created_at}}</td>
                      </tr>
                    @endforeach
                  </tbody>
                  <tfoot>
                  </tfoot>
                </table></div></div></div>
              </div>
              <!-- /.box-body -->
            </div>
            <!-- /.box -->
          </div>
          <!-- /.col -->
        </div>
        <!-- /.row -->